package com.guapi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("reply")
public class Reply implements Serializable {
    @Id
    private String id;
    private String replyDiscuss;
    private String content;
    private String username;
    private Date date;
}
